Automattic\WooCommerce\Internal\Admin\Settings\PaymentProviders D

Total Complexity 139
Dependencies 7
Dependents 7
Total lines 1,222
Lines of code 598
Logical lines of code 309
Comment lines 410
Methods 31
Properties 5

Methods 31

Method Rating Maintainability Complexity Lines of code
get_extension_suggestions()
C
34 25 94
enhance_payment_gateway_details()
B
36 19 84
enhance_order_map()
B
37 15 80
attach_extension_suggestion()
A
46 11 41
enhance_extension_suggestion()
A
45 10 42
payment_providers_order_map_apply_mappings()
A
50 8 30
get_payment_gateway_provider_instance()
A
51 8 27
hide_extension_suggestion()
S
50 7 30
get_payment_extension_suggestion_provider_instance()
S
58 5 17
get_payment_gateways()
S
55 4 21
maybe_add_pseudo_mollie_gateway()
S
58 4 16
is_payment_extension_suggestion_hidden()
S
62 3 11
get_extension_suggestion_categories()
S
52 1 28
has_enabled_ecommerce_gateways()
S
64 2 10
get_extension_suggestion_by_plugin_slug()
S
79 1 3
reset_memo()
S
81 1 3
get_payment_gateway_details()
S
70 1 7
get_payment_gateway_base_details()
S
74 1 4
get_payment_gateway_plugin_slug()
S
75 1 4
get_payment_gateway_plugin_file()
S
75 1 4
handle_non_standard_registration_for_payment_gateways()
S
77 1 4
get_suggestion_id_from_order_map_id()
S
79 1 3
get_extension_suggestion_by_id()
S
80 1 3
is_suggestion_order_map_id()
S
78 1 3
get_suggestion_order_map_id()
S
80 1 3
get_offline_payment_methods_gateways()
S
69 1 8
update_payment_providers_order_map()
S
70 1 6
save_order_map()
S
79 1 3
get_order_map()
S
79 1 3
is_offline_payment_method()
S
79 1 3
init()
S
80 1 3